package com.scau.phradmin.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.time.LocalDateTime;

;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuzhiyi
 * @since 2018-08-05
 */
public class Appointment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "appointment_id", type = IdType.NONE)
    private String appointmentId;
    @TableField("physical_exam_id")
    private Long physicalExamId;
    @TableField("exampackage_id")
    private Long exampackageId;
    @TableField("matters")
    private String matters;
    @TableField("provider_id")
    private String providerId;
    @TableField("department_id")
    private String departmentId;
    @TableField("doctor_id")
    private Long doctorId;
    @TableField("stop_time")
    private LocalDateTime stopTime;
    @TableField("start_time")
    private LocalDateTime startTime;
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;


    public String getAppointmentId() {
        return appointmentId;
    }

    public void setAppointmentId(String appointmentId) {
        this.appointmentId = appointmentId;
    }

    public Long getPhysicalExamId() {
        return physicalExamId;
    }

    public void setPhysicalExamId(Long physicalExamId) {
        this.physicalExamId = physicalExamId;
    }

    public Long getExampackageId() {
        return exampackageId;
    }

    public void setExampackageId(Long exampackageId) {
        this.exampackageId = exampackageId;
    }

    public String getMatters() {
        return matters;
    }

    public void setMatters(String matters) {
        this.matters = matters;
    }

    public String getProviderId() {
        return providerId;
    }

    public void setProviderId(String providerId) {
        this.providerId = providerId;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public Long getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Long doctorId) {
        this.doctorId = doctorId;
    }

    public LocalDateTime getStopTime() {
        return stopTime;
    }

    public void setStopTime(LocalDateTime stopTime) {
        this.stopTime = stopTime;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Appointment{" +
        ", appointmentId=" + appointmentId +
        ", physicalExamId=" + physicalExamId +
        ", exampackageId=" + exampackageId +
        ", matters=" + matters +
        ", providerId=" + providerId +
        ", departmentId=" + departmentId +
        ", doctorId=" + doctorId +
        ", stopTime=" + stopTime +
        ", startTime=" + startTime +
        ", createTime=" + createTime +
        "}";
    }
}
